CD2021 40823139

  • Home
    • Site Map
    • reveal
    • blog
  • Stage-1
    • 最終結果
    • 問題檢討
      • 最佳化設計
      • 模擬的碰撞問題
      • 機構模型過於理想
      • 時間裕度
    • week2
    • week3
    • week4
  • Stage-2
    • week6
    • week7
    • week8
    • week9
  • Stage-3
    • 模型簡化
    • W16 exam
    • W13~W14
      • 翻譯
      • Pick and Place
    • task1
      • 獲得正確順序(沒嵌入網站)
      • 嵌入網站
    • task2
    • task3
  • 機器人學
    • 正向運動學
    • 逆向運動學
  • Program
    • 基礎Python
      • package-example
      • geometry
      • funtion-args
      • funtion-basic
      • loop-basic
      • loop-control
      • module
      • number-string
      • set-dictionary
      • start
      • datatype
      • condition
      • list-tuple
  • About
  • 學期總結
  • CMSiMDE
    • 基本操作
      • 編輯網頁內容
      • 上傳與引用檔案
      • 上傳與引用圖片
      • 嵌入程式碼
      • 嵌入影片檔
      • 檢視 STL
    • Gitlab 同步
    • Heroku 部署
    • Fossil SCM
  • 建立網頁
  • 網站錯誤
    • 標題選擇
    • 靜態網頁 404
    • 動態網站錯誤
    • 出現ValueError
  • 延伸開發
Heroku 部署 << Previous Next >> 建立網頁

Fossil SCM

在 Github 之外, 可以同步將各倉儲資料存放至 Gitlab, Heroku (有 500 MB 容量限制) 與 Fossil SCM.

希望整合 Github 與 Fossil SCM 倉儲步驟說明如下:

針對 Github 中已經有 https://github.com/mdecourse/cmstemplate 倉儲, 希望同步建 https://fossil.kmol.info/cmstemplate 與之內容同步.

登入 fossil.kmol.info 主機, 在 /home/user/repository 目錄中, 以 fossil init cmstemplate.fossil 建立空倉儲. 此時 Fossil SCM 將會列出以登入帳號作為帳號的管理者密碼.

管理者利用 https://fossil.kmol.info/cmstemplate 連結, 以 user 登入, 並利用上列管理者密碼進入管理區, 先行透過 Setup/users 變更 user 對應密碼.

回到 Windows 以 fossil clone https://user@fossil.kmol.info/cmstemplate cmstemplate.fossil 取下倉儲資料, 過程中將需要輸入與 user 對應的密碼, 並被詢問是否儲存密碼, 若選擇儲存密碼則隨後的 fossil commit 將回自動提交推送.

接著在近端必須開啟空 cmstemplate.fossil 倉儲, 主要目的是取得 __FOSSIL__, 並且以 git pull 完整拉下位於 https://github.com/mdecourse/cmstemplate 中的資料並與空 __FOSSIL__ 進行整合. 其中在 Fossil SCM 端必須將 Setup/Settings 中的 default-csp 設為: https://fonts.googleapis.com (讓 CMSiMDE 靜態網頁可以在 Fossil SCM doc 頁面中正常顯示), 且勾選 dotfiles (讓 Fossil SCM 可以儲存 .git 中的版本資料).

參考資料:

編譯 Fossil SCM:

 http://project.mde.tw/blog/zai-msys2-huan-jing-bian-yi-fossil-scm.html


Heroku 部署 << Previous Next >> 建立網頁

Copyright © All rights reserved | This template is made with by Colorlib